package pri.chuang.wl.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Service;

import pri.chuang.wl.service.MQService;

@Service("mQService")
public class MQServviceImp implements MQService{
	@Autowired
	@Qualifier("jmsTemplate")
	private JmsTemplate jmsTemplate;
	
	public void send(String msg) {
		jmsTemplate.convertAndSend(msg);
	}

}
